package com.hzhr.iot.toll.model.gasUser;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.toll.entity.GasUserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "GasUserModel", description = "燃气用户模型")
@CygModel(entity = GasUserEntity.class)
public class GasUserModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 用户代码(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "code")
    private String code;
    @ApiModelProperty(value = "说明 : 用户名称(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "name")
    private String name;
    @ApiModelProperty(value = "说明 : 用户地址(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "address")
    private String address;
    @ApiModelProperty(value = "说明 : 户主手机号")
    @CygProperty(show = "_show_info", entityProp = "phone")
    private Long phone;
    @ApiModelProperty(value = "说明 : 用户类型代码(show_info=true时展示; 关联: toll_service.options.code, typeCode = 'USER_TYPE')", required = true)
    @CygProperty(show = "_show_info", entityProp = "typeCode")
    private String typeCode;
    @ApiModelProperty(value = "说明 : 用户类型描述(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "typeExt_name")
    private String typeDes;
    @ApiModelProperty(value = "说明 : 所属燃气公司编号(show_info=true时展示; 关联: user_service.company.id)", required = true)
    @CygProperty(show = "_show_info", entityProp = "companyId")
    private Integer companyId;
    @ApiModelProperty(value = "说明 : 所属部门编号(show_info=true时展示; 关联: user_service.dept.id)", required = true)
    @CygProperty(show = "_show_info", entityProp = "deptId")
    private Integer deptId;
    @ApiModelProperty(value = "说明 : 备注(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "remark")
    private String remark;
    @ApiModelProperty(value = "说明 : 资源代码(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "resourceCode")
    private String resourceCode;
    @ApiModelProperty(value = "说明 : 总用气量(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "gasConsume")
    private Double gasConsume;
    @ApiModelProperty(value = "说明 : 采集设备数量(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "collectDeviceCount")
    private Integer collectDeviceCount;

    @ApiModelProperty(value = "说明 : 所属部门名称(show_dept=true时展示)", required = true)
    @CygProperty(show = "_show_dept", entityProp = "")
    private String deptName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeDes() {
        return typeDes;
    }

    public void setTypeDes(String typeDes) {
        this.typeDes = typeDes;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getResourceCode() {
        return resourceCode;
    }

    public void setResourceCode(String resourceCode) {
        this.resourceCode = resourceCode;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Double getGasConsume() {
        return gasConsume;
    }

    public void setGasConsume(Double gasConsume) {
        this.gasConsume = gasConsume;
    }

    public Integer getCollectDeviceCount() {
        return collectDeviceCount;
    }

    public void setCollectDeviceCount(Integer collectDeviceCount) {
        this.collectDeviceCount = collectDeviceCount;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }
}
